header {
    background-color: #000000;
    padding: 0 3%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

footer,
.d-lg-none.footer-canvas {
    background-color: var(--color-primary);
    padding: 3%;
    color: var(--color-secondary);
    text-align: center;
    min-height: 150px;
    display: flex;
    align-items: center;
    width: 100%;
}

img.logo-navbar {
    max-width: 55%;
}

.logo-brand-footer {
    max-width: 100px;
}

h1.title-web-1 {
    font-size: 4.5rem;
}

h1.title-web-1 span.pepsi-regular {
    font-size: 4.85rem;
}

h1.title-web-2 span.pepsi-regular {
    font-size: 3.92rem;
}

h1.title-web-2 span.pepsi-extended {
    font-size: 5.35rem;
}

button.btn-title {
    font-size: 1.5rem;
}

.first-section,
.second-section,
.third-section,
.fourth-section,
.fifth-section {
    min-height: auto;
}


.container-pulse {
    padding-top: .8em;
    background-repeat: no-repeat;
    background-position: top center;
    min-height: 115vh;
    background-size: contain;
    background-image: url('../elementos/imagenes/latas_pepsi_home.webp');
}


.paraph-web {
    font-size: 1.38rem;
}

.text-with-shadow {
    text-shadow: 0 4px 4px rgb(0 0 0 / 25%);
}

.star-pop {
    width: 84px;
    height: auto;
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.star-pop.star-1 {
    left: 75%;
    top: 0;
    animation: fadeIn 1s forwards, twinkle 3.5s infinite 1s;
}

.star-pop.star-2 {
    left: 79%;
    top: -5%;
    width: 70px;
    animation: fadeIn 1.2s forwards, twinkle 3.5s infinite 1.5s;
}

.star-pop.star-3 {
    top: 22%;
    left: 17%;
    animation: fadeIn 1.3s forwards, twinkle 3.5s infinite 1.8s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 1;
    }

    10% {
        opacity: 0.8;
    }

    20% {
        opacity: 0.6;
    }

    30% {
        opacity: 0.4;
    }

    40% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.8;
    }

    60% {
        opacity: 1;
    }

    70% {
        opacity: 0.8;
    }

    80% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.4;
    }
}

.waves-effect {
    transition: opacity 0.5s ease;
    /* Transición suave para la opacidad */
}

.waves-effect span {
    margin: 0 -5px;
    /* Ajusta el margen para juntar las letras */
    display: inline-flex;
    animation: wave-text 2s ease-in-out infinite;
    /* Animación en bucle */
}

.waves-effect span:nth-of-type(1) {
    animation-delay: 0s;
}

.waves-effect span:nth-of-type(2) {
    animation-delay: 0.1s;
}

.waves-effect span:nth-of-type(3) {
    animation-delay: 0.2s;
}

.waves-effect span:nth-of-type(4) {
    animation-delay: 0.3s;
}

.waves-effect span:nth-of-type(5) {
    animation-delay: 0.4s;
}

@keyframes wave-text {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 0.8;
    }

    25% {
        transform: scaleY(1.5);
        opacity: 1;
    }

    50% {
        transform: scaleY(1);
        opacity: 0.8;
    }

    75% {
        transform: scaleY(1.2);
        opacity: 0.9;
        /* Un poco más opaco que el normal */
    }
}

/***** SWIPPER CAROUSEL WEBSITE ******/
#sliderCategorias {
    width: 100%;
}

#sliderCategorias .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Estilos para las flechas */
.swiper-button-next,
.swiper-button-prev {
    background: white !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    font-size: 40px !important;
    color: #0025FF !important;
}

.swiper-button-next {
    right: 4% !important;
}

.swiper-button-prev {
    left: 4% !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: none !important;
    /* Elimina el contenido existente */
}


/****** RRSS BLOQUE *****/

.rrss-grid {
    min-height: 90vh;
}
@keyframes float1 {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes float2 {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0);
    }
}

.floating-card:nth-child(1) {
    animation: float1 3s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    animation: float2 3s ease-in-out infinite;
}

.floating-card:nth-child(3) {
    animation: float1 3s ease-in-out infinite;
}

.floating-card img {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/****** MEDIA QUERIES *******/

/***** TELEFONOS Y TABLETS PEQUEÑAS PORTRAIT *****/
@media only screen and (max-width: 1020px) and (orientation: portrait) {
    footer, .d-lg-none.footer-canvas {
        min-height: auto;
        padding: 3%;
    }

    footer .logo-brand-footer {
        margin-top: 0.75em;
        max-width: 170px;
    }

    nav.navbar .container-fluid {
        flex-wrap: nowrap;
    }

    nav.navbar .logo-navbar {
        max-width: 50%;
    }

    header .offcanvas {
        width: 100%;
        background: black;
        min-width: 100%;
        border: 0 !important;
    }

    header .offcanvas .nav-item * {
        font-size: 1.25rem;
    }

    header .offcanvas .nav-item button{
        font-size: 1rem !important;
    }

    header .offcanvas .nav-item {
        min-width: 100%;
        text-align: center;
    }

    header .offcanvas .nav-item button {
        min-width: 75%;
    }

    header .offcanvas-body {
        padding: 0;
        /* Simplificado */
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
    }

    header .offcanvas-header {
        padding: 3% 5%;
    }

    header ul.navbar-nav {
        padding: 3%;
        margin: auto;
        min-height: 60vh;
        min-width: 80%;
    }

    .container-pulse {
        padding-top: 0;
        min-height: 73vh;
        background-size: cover;
    }

    #sliderCategorias {
        padding: 0 !important;
        width: 100%;
        margin: 0 !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

}

/***** SOLO TELEFONOS ****/
@media only screen and (max-width: 480px) and (min-height: 812px) and (orientation: portrait) {
    .container-pulse {
        padding-top: 0;
        min-height: 68vh;
        background-size: cover;
    }

    h1.title-web-1 {
        margin-top: .95em;
    }
}

@media only screen and (max-width: 480px) {
    header ul.navbar-nav {
        padding: 3%;
        margin: auto;
        min-height: 50vh;
        min-width: 80%;
        justify-content: start;
    }

    h1.title-web-1 {
        font-size: 2.2rem;
        margin-top: .25em;
    }

    h1.title-web-1 span.pepsi-regular {
        font-size: 2.35rem;
    }

    h1.title-web-2 span.pepsi-extended {
        font-size: 2.55rem;
    }

    h1.title-web-2 span.pepsi-regular {
        font-size: 1.85rem;
    }

    .paraph-web {
        font-size: 1rem;
    }

    .star-pop {
        width: 60px !important;
    }

    .star-pop.star-3 {
        top: 14% !important;
        left: 0;
        width: 50px !important;
    }

    .star-pop.star-2 {
        left: 85%;
        top: -5%;
        width: 55px !important;
    }

    .star-pop.star-1 {
        top: -8%;
        width: 50px !important;
        left: 80%;
    }

    #sliderCategorias .slider-image {
        max-width: 80% !important;
    }

    button.btn-title {
        font-size: 1rem;
    }

    #swiperCards img {
        max-width: 85%;
        margin-top: 1em;
        margin-bottom: 1em;
    }

    footer .logo-brand-footer {
        max-width: 120px;
    }

}

/***** TABLETS PEQUEÑAS ****/
@media only screen and (min-width: 481px) and (max-width: 820px) and (orientation: portrait) {
    #sliderCategorias .slider-image {
        max-width: 55% !important;
    }

    .star-pop.star-1 {
        left: 90%;
        top: -3%;
        width: 75px;
    }

    .star-pop.star-2 {
        left: 85%;
        top: -7%;
        width: 70px;
    }

    .star-pop.star-3 {
        top: 18%;
        left: 0;
        width: 75px;
    }

    .rrss-grid {
        min-height: 35vh;
        margin-top: 2em;
    }

}

/***** TABLETS PEQUEÑAS LANDSCAPE ****/
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .rrss-grid {
        min-height: 75vh;
    }
}

/***** TABLETS GRANDES LANDSCAPE ****/
@media only screen and (min-width: 1280px) and (max-width:1366px) and (orientation: landscape) {
    .rrss-grid {
        min-height: 75vh;
    }
}

/**** CASO PARTICULAR IPAD PRO VERTICAL ****/
@media only screen and (min-width: 1020px) and (max-width: 1024px) {
    a.navbar-brand {
        max-width: 28%;
    }

    .container-pulse {
        min-height: 50vh !important;
    }

    .star-pop.star-1 {
        left: 82%;
    }

    .star-pop.star-3 {
        top: 25%;
        left: 10%;
    }

    .rrss-grid {
        min-height: 40vh;
    }

}

/***** PANTALLAS GRANDES ****/
@media only screen and (min-width: 1900px) {

    /* Añadir estilos específicos aquí */
    h1.title-web-1 {
        font-size: 5.4rem;
    }

    h1.title-web-1 span.pepsi-regular {
        font-size: 5.85rem;
    }

    #sliderCategorias {
        width: 90%;
    }

    h1.title-web-2 span.pepsi-regular {
        font-size: 4.4rem;
    }

    h1.title-web-2 span.pepsi-extended {
        font-size: 6rem;
    }
}